package com.bicon.botu.medical.param

import com.bicon.botu.core.base.validate.annotation.NotNull
import com.bicon.botu.core.base.validate.annotation.NotNullOrEmpty
import com.bicon.botu.medical.model.dto.UserHealthDataDTO
import io.swagger.annotations.ApiModelProperty

/**
 * 录入体征数据--参数类
 *
 * @author 刘小鹏
 */
data class EntryHealthParam(

        /**
         * 用户Id
         */
        @ApiModelProperty(value = "用户ID", name = "userId", required = true, allowEmptyValue = false)
        @NotNull val userId: String? = null,

        /**
         * 昵称
         */
        @ApiModelProperty(value = "昵称", name = "nick", required = true, allowEmptyValue = false)
        @NotNull val nick: String? = null,

        /**
         * 出生日期
         */
        @ApiModelProperty(value = "出生日期", name = "birthday", required = true, allowEmptyValue = false)
        @NotNull val birthday: String? = null,

        /**
         * 性别
         */
        @ApiModelProperty(value = "性别", name = "gender", required = true, allowEmptyValue = false)
        @NotNull val gender: Int? = null,

        /**
         * 身体指标参数
         */
        @ApiModelProperty(value = "身体指标参数", name = "healthDataList", required = true, allowEmptyValue = false)
        @NotNullOrEmpty val healthDataList: ArrayList<UserHealthDataDTO>? = null


)